package com.whc.gulimall.member.feign;

import com.whc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @author angaoen
 */
@FeignClient(name = "gulimall-order", path = "/order/order")
public interface OrderFeignService {

    @PostMapping("/order")
    R listOrderItem(@RequestBody Map<String, Object> params);

}
